package cn.zpfhomework03;

public class Programmer {
    String name;
    int age;
    String skillDir;
    double jobOfYears;

    //带参
    /*public Programmer(String name, int age, String skillDir, double jobOfYears) {
        this.name = name;
        this.age=age;
        this.skillDir=skillDir;
        this.jobOfYears=jobOfYears;

    }*/
    public void showProdrammer(){
        System.out.println("我叫："+this.name+"，年龄："+this.age+",技术方向："+this.skillDir+",工作年限："+this.jobOfYears+"年。");
    }
}
